package com.crx.springbootinit.model.vo.collect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 谢杭延
 * @Date 2024-10-22 19:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "收藏帖子视图对象")
public class CollectPostListVO {
    @ApiModelProperty(value = "帖子id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "图片列表")
    private String imageList;

    @ApiModelProperty(value = "线路")
    private String route;

    @ApiModelProperty(value = "游玩次数")
    private Integer playCount;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "距离")
    private Integer distance;

    @ApiModelProperty(value = "发帖地址")
    private String address;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "获赞数量")
    private Long loveCount;

    @ApiModelProperty(value = "收藏数量")
    private Long collectCount;

    @ApiModelProperty(value = "评论数量")
    private Long commentCount;
}
